<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>导航菜单</title>
<style type="text/css">
/* .t1{
width: 200px;
height: 30px;
background-color: #56abe4;
text-align: center;
color: #ffffff;
} */
	#nav{
	width: 100%;
	height: 30px;
	
	}
	#home{
	width: 19%;
	height: 30px;
	background-color: #56abe4;
	text-align: center;
	color: #ffffff;
	float: left;
	padding-top: 5px;
	margin-left: 3px;
	}
	#dao{
	width: 19%;
	height: 30px;
	background-color: #56abe4;
	text-align: center;
	color: #ffffff;
	float: left;
	padding-top: 5px;
	margin-left: 3px;
	}
	#nac{
	width: 19%;
	height: 30px;
	background-color: #56abe4;
	text-align: center;
	color: #ffffff;
	float: left;
	padding-top: 5px;
	margin-left: 3px;
	}
	#page{
	width: 19%;
	height: 30px;
	background-color: #56abe4;
	text-align: center;
	color: #ffffff;
	float: left;
	padding-top: 5px;
	margin-left: 3px;
	}
	#hh{
	width: 19%;
	height: 30px;
	background-color: #56abe4;
	text-align: center;
	color: #ffffff;
	float: left;
	padding-top: 5px;
	margin-left: 3px;
	}
</style>
<script type="text/javascript">
 function changeColor(){
	 document.getElementById("home").style.background = "#b9e1f6"; 
	 document.getElementById("dao").style.background = "#87a7d6"; 
	 document.getElementById("nac").style.background = "#6494db"; 
	 document.getElementById("page").style.background = "#4071ba"; 
	 document.getElementById("hh").style.background = "#4683dc"; 
 }
 function change(){
	 document.getElementById("home").style.background = "#56abe4"; 
	 document.getElementById("dao").style.background = "#56abe4"; 
	 document.getElementById("nac").style.background = "#56abe4"; 
	 document.getElementById("page").style.background = "#56abe4"; 
	 document.getElementById("hh").style.background = "#56abe4"; 
 }
</script>
</head>
<body>
	<div id="nav">
		<div id="home" onmousemove="this.style.background='#b9e1f6'" onmouseout="change()">首页</div>
		<div id="dao"  onmousemove="this.style.background='#b9e1f6'" onmouseout="change()">导入Java</div>
		<div id="nac"  onmousemove="this.style.background='#b9e1f6'" onmouseout="change()">导航</div>
		<div id="page" onmousemove="this.style.background='#b9e1f6'" onmouseout="change()">版权</div>
		<div id="hh"  onmousemove="this.style.background='#b9e1f6'" onmouseout="change()"></div>
 	</div>
<!--<table width="100% " height="30px">
	<tr >
		<td class="t1" >首页</td>
		<td class="t1" >导入Java</td>
		<td class="t1" id="changeColor" onmousemove="changeColor()" >导航</td>
		<td class="t1" >版权</td>
		<td class="t1" ></td>
	</tr>

</table> -->
</body>
</html>